package org.byd.dmsja.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.byd.dmsja.entity.DmsParaDb;
import org.byd.dmsja.mapper.DmsParaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class DmsParaService {

    @Autowired
    public DmsParaMapper dmsParaMapper;

    @DS("postgresql")
    public List<DmsParaDb> findAllPara() {
        return dmsParaMapper.findAllPara();
    }
}
